<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/manage/css/admin.css" />
		<link rel="stylesheet" href="__STATIC__/manage/js/layui/css/layui.css" />
		<script type="text/javascript" src="__STATIC__/manage/js/jquery.min.js"></script>
		{include file="inc/script" /}
		<script type="text/javascript" src="__STATIC__/manage/js/public.js"></script>
		<script type="text/javascript" src="__STATIC__/manage/js/layui/layui.js"></script>
	</head>

	<body>
		<div class="right-center height-at">
			<div class="center-tit magin0">{$pageData.title}</div>
			<div class="center-nav">
				<ul>
					<li>
						<a href="javascript:;" data-method="add" class="right-btn center-nav-bnt hov "><i class="iconfont icon-add"></i>新增会员</a>
					</li>
					<li>
						<a href="#javascript:;" class="center-nav-bnt hov"><i class="iconfont icon-daochu"></i>导出</a>
					</li>
					<li>
						<a href="javascript:;" data-type="dis" class="right-btn center-nav-bnt hb-bnt hov-n"><i class="iconfont icon-jinyong"></i>禁用</a>
					</li>
					<li>
						<a href="javascript:;" data-type="fora" class="right-btn center-nav-bnt hb-bnt hov-n"><i class="iconfont icon-dongjie"></i>冻结</a>
					</li>
					
				</ul>
				<div class="screen-bnt">
					<a href="#">筛选<i class="iconfont icon-sx"></i></a>
				</div>
			</div>
			<div class="screen-bnt-cen">
				<form class="layui-form" id="screen-form">
					<ul class="clearfix">
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">用户编号</label>
								<div class="layui-input-block">
									<input type="text" name="mid" autocomplete="off" placeholder="请输入用户编号" class="layui-input" id="mid">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">用户姓名</label>
								<div class="layui-input-block">
									<input type="text" name="mname" autocomplete="off" placeholder="请输入用户姓名" class="layui-input" id="mname">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item layui-form-select-icon iconfont">
								<label class="layui-form-label">等级</label>
								<div class="layui-input-block">
								      <select name="level_id" lay-ignore class="layui-input level-input" lay-filter="aihao" id="level_id">
								        <option value="">请选择会员等级</option>
								      </select>
							      </div>
						    </div>
						</li>
						<li>
							<div class="layui-form-item layui-form-select-icon iconfont">
								<label class="layui-form-label">类型</label>
								<div class="layui-input-block">
								      <select name="type" lay-ignore class="layui-input member-type" id="type">
								        <option value="">请选择会员类型</option>
								      </select>
							      </div>
						    </div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">代理中心</label>
								<div class="layui-input-block">
								     <input type="text" name="agent_mid" autocomplete="off" placeholder="请输入代理中心" class="layui-input" id="agent_mid">
							      </div>
						    </div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">推荐人</label>
								<div class="layui-input-block">
									<input type="text" name="inviter_mid" autocomplete="off" placeholder="请输入推荐人" class="layui-input" id="inviter_mid">
								</div>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">安置人</label>
								<div class="layui-input-block">
									<input type="text" name="seter_mid" autocomplete="off" placeholder="请输入安置人" class="layui-input" id="seter_mid">
								</div>
							</div>
						</li>
						<li>
							
							<div class="layui-form-item layui-form-select-icon iconfont">
								<label class="layui-form-label">代理状态</label>
								<div class="layui-input-block">
								      <select name="is_agent" lay-ignore class="layui-input" id="is_agent">
								      	<option value="0">请选择代理状态</option>
								      	<option value="1">是</option>
								        <option value="0">否</option>
								      </select>
							      </div>
						    </div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">开始时间</label>
								<div class="layui-input-block">
									<input type="text" name="start" autocomplete="off" class="layui-input"  id="start">
								</div>
								<i class="layui-icon">&#xe637;</i>
							</div>
						</li>
						<li>
							<div class="layui-form-item">
								<label class="layui-form-label">结束时间</label>
								<div class="layui-input-block">
									<input type="text" name="end" autocomplete="off" class="layui-input"  id="end">
								</div>
								<i class="layui-icon">&#xe637;</i>
							</div>
						</li>
					</ul>
					<p><input type="button" class="button" id="ScreenBnt" data-type="reload" value="查询"></p>
				</form>
			</div>

			<div class="center-tab">
				<table class="layui-table" id="centet-cen" lay-filter="table"></table>
				<script type="text/html" id="barDemo">
					<a class="tab-cz-icon ckicon" lay-event="detail" title="查看"></a>
					<a class="tab-cz-icon bjicon" lay-event="edit" title="编辑"></a>
					<a class="tab-cz-icon mmicon" lay-event="pass" title="修改密码"></a>
					<a class="tab-cz-icon bingz" lay-event="cur" title="增减货币"></a>
					<a class="tab-cz-icon scicon" lay-event="del" title="删除"></a>
				</script>
			</div>
			<div class="paging"></div>
		</div>
		<script>
		    //列表
			var listSrc = "{:url('member.api/member_rows')}";
			//添加
			var addSrc = "{:url('member.handle/add')}";
			//删除
			var delSrc = "{:url('member.handle/del')}";
			//查看
			var seeSrc = "{:url('member.api/member_row')}";
			//mid
			//编辑
			var editSrc = "{:url('member.handle/edit')}";
			//密码
			var pasSrc = "{:url('member.handle/password')}";
			//冻结
			var forSrc = "{:url('member.handle/freeze')}";
			//禁用
			var disSrc = "{:url('member.handle/disable')}";
			//增加币种
			var curSrc = "{:url('membercoin.handle/change')}";
			//分页
			var dataList = '{$whereStr}';
			var seet = {$whereData | json_encode};
			
			//获取每页显示条数
			var getpzSrc="{:url('option.api/get')}";
			//设置每页显示条数
			var tjpzSrc="{:url('option.handle/save')}";
		</script>
		<script type="text/javascript" src="__STATIC__/manage/js/member/show/index.js"></script>
	</body>

</html>